// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
    css: [
        'assets/styles/base.css',
        'assets/styles/page-transletion.css'
    ],
    modules: [
        '@element-plus/nuxt',
        'nuxt-icon'
    ],
    app: {
        head: {
            title: '达文西的快乐星球',
            htmlAttrs: {
              lang: 'en'
            },
            meta: [
              { charset: 'utf-8' },
              // { name: 'viewport', content: 'width=device-width, initial-scale=1' },
              { hid: 'keywords', name: 'keywords', content: '达文西的快乐星球,SNBLOG' },
              { hid: 'description', name: 'description', content: '达文西的快乐星球，个人技术博客' },
              { name: 'format-detection', content: 'telephone=no' }
            ],
            link: [
              { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
            ]
        },
        pageTransition: { name: 'page', mode: 'out-in' }
    },
    runtimeConfig: {
        public: {
            apiBase: 'http://127.0.0.1:8083',
            siteTitle:'达文西的快乐星球'
        }
    }
})
